package com.dapeng.cleardatabackend.model.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author dapeng
 * @description 用户性别枚举
 * @date 2024/12/8 11:25
 */
@Getter
@AllArgsConstructor
public enum UserGenderEnum implements BaseEnum {

    MALE(0, "男"),
    FEMALE(1, "女"),
    SECRET(2, "保密");

    @JsonValue
    @EnumValue
    private final Integer code;
    private final String name;

    private static final long serialVersionUID = 1L;
}
